<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2020/11/11
 * Time: 16:31
 */

namespace app\api\model\Course;


use think\Model;
use think\model\concern\SoftDelete;

class CourseGroup extends Model
{
    use SoftDelete;
    protected $deleteTime = 'delect_time'; //删除字段

    public function course()
    {
        return $this->hasOne(CourseModel::class, 'id', 'course_id');
    }
}